package lyc.springcloud.admin.dao.systemManagerDao;

import lyc.springcloud.admin.dto.systemManagerDto.RoleManagerDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface RoleManagerDao {
    List<Map> selectEnableResourceTree();
    List<String> selectEnableResourceTreeByRoleId(String roleId);
    void roleMng_insert(RoleManagerDto params);
    void roleMng_update(RoleManagerDto params);
    void role_resource_insert(List<Map> params);
    void role_resource_delete(Object params);
    List<Map> roleMng_select(RoleManagerDto params);
    Integer roleMng_select_count();
    void roleMng_delete(List params);
}
